//
//  PublicENUMFile.h
//  高仿暴走斗图
//
//  Created by huangsongyao on 16/3/14.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#ifndef PublicENUMFile_h
#define PublicENUMFile_h

/**
 *  公开枚举头文件，用于公开所有通用的枚举类型
 */


//登陆状态的枚举
typedef NS_ENUM(NSUInteger, kUserStatusType) {
    
    kUserStatusTypeNone                 = 0,        //无状态
    kUserStatusTypeLogin                = 1,        //登陆状态
    kUserStatusTypeNotLogin             = 2,        //未登陆状态
};


//性别的枚举
typedef NS_ENUM(NSUInteger, kUserGenderType) {
    
    kUserGenderTypeNone                 = 0,        //无状态
    kUserGenderTypeMale                 = 1,        //男性
    kUserGenderTypeFemale               = 2,        //女性
};


//设备尺寸的枚举
typedef NS_ENUM(NSUInteger, kIPhoneDeviceType) {
    
    kIPhoneDeviceType4                  = 480,      //3.5寸屏幕
    kIPhoneDeviceType4S                 = kIPhoneDeviceType4,
    
    kIPhoneDeviceType5                  = 568,      //4.0寸屏幕
    kIPhoneDeviceType5S                 = kIPhoneDeviceType5,
    
    kIPhoneDeviceType6                  = 667,      //4.7寸屏幕
    kIPhoneDeviceType6P                 = 736,      //5.5寸屏幕
    
    kIPhoneDeviceType6S                 = kIPhoneDeviceType6,      //4.7寸屏幕
    kIPhoneDeviceType6SP                = kIPhoneDeviceType6P,      //5.5寸屏幕
};



//socket状态枚举
typedef NS_ENUM(NSUInteger, kSocketLinksStatusType) {
    
    kSocketLinksStatusTypeLinksSuccess              = 1,        //链接成功
    kSocketLinksStatusTypeLinksFailure              = 2,        //链接失败
    kSocketLinksStatusTypeUserDisconnect            = 3,        //用户断开链接
    kSocketLinksStatusTypeServerDisconnect          = 4,        //服务器断开链接
    kSocketLinksStatusTypeNetDisconnect             = 5,        //无网络状态
    
};


//定制弹框的动画类型
typedef NS_ENUM(NSUInteger, kCustomAlertViewAnimationType) {
    
    kCustomAlertViewAnimationTypeNone               = 0,        //无
    
    kCustomAlertViewAnimationTypeZoomIn             = 1,        //放大动画
    kCustomAlertViewAnimationTypeZoomOut            = 2,        //缩小动画
    
    kCustomAlertViewAnimationTypeFadeIn             = 3,        //淡入动画
    kCustomAlertViewAnimationTypeFadeOut            = 4,        //淡出动画
    
    kCustomAlertViewAnimationTypeMoveIn             = 5,        //移入动画
    kCustomAlertViewAnimationTypeMoveOut            = 6,        //移除动画
    
};


//定制图片库资源类型
typedef NS_ENUM(NSUInteger, kALAssetType) {
    
    kALAssetTypePhoto,
    kALAssetTypeVideo,
    kALAssetTypeUnknow,
    
};

//window层的level
typedef NS_ENUM(NSUInteger, kWindowLevelType) {
    
    kWindowLevelTypeRoot            = 1,
    kWindowLevelTypeShowImage       = 9999,
};



#endif /* PublicENUMFile_h */




